package com.service.bank.mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.client.model.pojo.bank.ArBankcard;
import com.client.model.pojo.bank.TElectronicCard;
import com.client.model.vo.creditLoanVo.ArBanksVo;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
* @author liuwenju
* @description 针对表【t_electronic_card】的数据库操作Mapper
* @createDate 2024-04-01 20:55:27
* @Entity com.service.bank.pojo.TElectronicCard
*/
@Mapper
public interface TElectronicCardMapper extends BaseMapper<TElectronicCard> {

    @Insert("insert into t_electronic_card(cid,eid,remark) values(#{cid},#{eid},#{tid})")
    void saveinsert(@Param("cid") Long cid,@Param("eid") Long eid,@Param("tid") Long tid);

    @Insert("insert into t_electronic_card(cid,eid,remark) values(#{cid},#{eid},#{i})")
    void saveinserts(@Param("cid") Long cid,@Param("eid") Long eid,@Param("i") int i);


    List<ArBanksVo> getElectronicCardByEid(Long eid);
}




